-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix HTTP proxying #1415
fix HTTP proxying #1415
Conversation
* fix bug that broke HTTP proxy support * add functional tests via mitmdump fixes aio-libs#1413
mitmdump doesn't support python 3.4, I can't test on Windows.
Current coverage is 98.50% (diff: 100%)@@ master #1415 diff @@
==========================================
Files 30 30
Lines 6900 6902 +2
Methods 0 0
Messages 0 0
Branches 1143 1144 +1
==========================================
- Hits 6823 6799 -24
- Misses 33 39 +6
- Partials 44 64 +20
|
Long story shortMy apologies if not posted there, I tried this patch and found the related bug, it appears after a redirect, I think I should put it here until it's in production Expected behaviourhttp://httpbin.org/redirect/6 (302) -> http://httpbin.org/get (200) Actual behaviour
Steps to reproduce
Your environmentpython 3.5.2 Otherrandom proxy list http://hideme.ru/proxy-list/?ports=80#list |
There is applied #1421 |
I believe it should be closed |
What do these changes do?
Are there changes in behavior for the user?
Fixes regression, brings back intended behavior, users will be able to use HTTP proxies without any errors.
Related issue number
#1413
Checklist
CONTRIBUTORS.txt
CHANGES.rst
#issue_number
format at the end of changelog message. Use Pull Request number if there are no issues for PR or PR covers the issue only partially.